# $Id: PKGBUILD 181886 2013-04-05 08:54:29Z svenstaro $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kde-base-artwork
pkgver=4.10.2
pkgrel=1
pkgdesc="KDE KSplash theme"
arch=('any')
url='http://www.kde.org/'
license=('LGPL')
makedepends=('kdelibs' 'cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('4071b07ebe544e7ec9032cf7fc2798eaa45ee39b')

build() {
	cd $srcdir
	mkdir build
	cd build
	cmake ../${pkgname}-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-DKDE4_BUILD_TESTS=OFF \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	cd $srcdir/build
	make DESTDIR=$pkgdir install
}
